#include <stdio.h>

int main(void) 
{
	int x = 0;
	char *p, a[] = {'a', 'b', 'c', 'd', 'd', 'a', 'b', 'c', 'd'};
	p = a;

	x = sizeof(p);
	printf("sizeof(p):%d\n", x);
	x = sizeof(a);
	printf("sizeof(a):%d\n", x);
	x = sizeof p;
	printf("sizeof p:%d\n", x);
	x = sizeof a;
	printf("sizeof a:%d\n", x);
	x = sizeof *p;
	printf("sizeof *p:%d\n", x);
	x = sizeof *a;
	printf("sizeof *a:%d\n", x);
/*
	x = sizeof(int)p;
	printf("sizeof(int)p:%d\n", x);
	x = sizeof(int)a;
	printf("sizeof(int)a:%d\n", x);
	x = sizeof(int *)p;
	printf("sizeof(int*)p:%d\n", x);
	x = sizeof(int *)a;
	printf("sizeof(int*)a:%d\n", x);
*/
	x = sizeof((int)*p);
	printf("sizeof((int)*p):%d\n", x);
	x = sizeof((int)*a);
	printf("sizeof((int)*a):%d\n", x);
	x = sizeof((int *)*p);
	printf("sizeof((int*)*p):%d\n", x);
	x = sizeof((int *)*a);
	printf("sizeof((int*)*a):%d\n", x);

	return 0;
}

